#include <stdio.h>
#define N 10

int main() {
	float mark[N];
	int i;
	for(i=0;i<N;i++) scanf("%f",mark+i);
	int level[5]={0};
	for(i=0;i<N;i++){
		if(mark[i]>=90)level[0]++;
		else if(mark[i]>=80)level[1]++;
		else if(mark[i]>=70)level[2]++;
		else if(mark[i]>=60)level[3]++;
		else level[4]++;
	}
	printf("You: %d\nLiang: %d\nZhong: %d\nJige: %d\nBujige: %d\n",level[0],level[1],level[2],level[3],level[4]);
	
	return 0;
}